<case value="user_list">
<php>
$user_map_json=json_encode($[type]form['options']);

 
</php>

<div class="input-group" style=" width: 50%;">
<input type="text" placeholder="请输入客户名/客户编号/手机号" class="form-control input text" name="user_keyword" id="user_keyword" value="" {$[type]form.extra_attr}>
<span class="input-group-btn" style="float:left;">
<a class="btn btn-default" href="javascript:change_user_keyword();">
<i class="fa fa-search"></i>
</a>
</span> 
</div>
<br/> 
<select name="{$[type]form.name}" id="user_list_sel" class="form-control select"> 
	
</select>  

<script type="text/javascript">
$(function(){
	change_user_list_sel();
}); 
function change_user_keyword(){
	var user_keyword=$("#user_keyword").val();
	change_user_list_sel(user_keyword);
}
function change_user_list_sel(user_keyword){
	var  id= "{$[type]form.value}";
 
	var user_map_json={$user_map_json};
	$.getJSON("index.php?s=/Api/Ajax/get_userlist_sel_js",{user_keyword:user_keyword,user_map_json:user_map_json,id:id},function(json){
        $("#user_list_sel").html(json);
    });
}
 
</script>
   
</case>